package com.ellecity06.common.initializer

import android.content.Context
import androidx.startup.Initializer
import com.ellecity06.common.utils.AppUtils
import com.tencent.mmkv.MMKV

/**
 * @author ellecity06
 * @time 2023/3/29 17:53
 * @des application context  初始化器
 */
class ContextInitializer : Initializer<Unit> {

    override fun create(context: Context) {
      AppUtils.getInstance().initializer(context.applicationContext)
    }

    override fun dependencies() = emptyList<Class<Initializer<*>>>()
}